<template>
  <div  class="result_empty">
    <img :src="defaultEmpty">
    <p>{{message}}</p>
  </div>
</template>

<script>
  import defaultEmptyAc from 'assets/default_empty_icon.png'
  import imageServices from "services/getImage/getImage"
  import defaultEmptyHz from 'assets/search_none.png'
  export default {
    name: 'empty',
    props: {
      message: {
        type: String
      }
    },
    data () {
      return {
        defaultEmpty:''
      }
    },
    created(){
      console.log(this.$)
      alert(this.$.appname)
      if(this.$.appname === 'cn.carowl.vfuhuizhong'){
        this.defaultEmpty = defaultEmptyHz
      }else{
        this.defaultEmpty = defaultEmptyAc
      }
    }
  }
</script>

<style>
	.result_empty{
    padding-top: 100px;
		display:flex;
		flex-flow:column;
		justify-content: center;
		align-items: center;
	}
  .result_empty img{
    width:50%;
  }
  .result_empty p {
    font-weight: bold;
    margin-top: 5px;
  }
</style>
